Employing data flow testing on object-oriented classes
نویسندگان
چکیده
At the class testing level, state-based testing and data flow testing techniques have been employed. However, while the former only involves the variables that have an effect on the behaviour of the object under test, it is possible for errors to occur in variables, which do not define an object’s state. Data flow testing has been applied to generate test cases for testing classes using data flow criteria, but this is a difficult task. Moreover, some of data flow test cases thus generated may be unworkable. Selecting data flow test cases based on sequences of specification messages is a way to reduce the effort of generating feasible intra-class data flow test cases. However, some test cases cannot be selected, if data flow anomalies exist within the sequences. The data flow testing technique in this research is divided into two stages; first detecting data flow anomalies and then computing data flow test cases.
منابع مشابه
A novel hybrid object-oriented class testing method
A hybrid testing method, discussed in this research, combines state-based testing with data flow analysis to test classes at the intra-class level. Employing state-based testing, the method can generate all possible test message sequences. Using data flow analysis, the method can also detect whether data anomalies exist in those generated sequences, and then compute data flow test cases, which ...
متن کاملInvestigating Data-Flow Coverage of Classes Using Evolutionary Algorithms Search-Based Software Engineering (SBSE)
It is not unusual for a software development organization to expend 40 percent of total project effort on testing, which can be a very laborious and time-consuming process. Thus, there is a big necessity for test automation. This paper describes an approach to automatically generate test-data for the evolutionary testing of object-oriented software exploiting data-flow coverage. An implementati...
متن کاملIntegration Testing of Object-oriented Components Using FSMS: Theory and Experimental Details
In object-oriented terms, one of the goals of integration testing is to ensure that messages from objects in one class or component are sent and received in the proper order and have the intended effect on the state of external objects that receive the messages. This research extends an existing single-class testing technique to integration testing. The previous method models the behavior of a ...
متن کاملConformance Testing of Object-Oriented Components Specified by State/Transition Classes
In object-oriented software development, a class is the basic unit of semantic abstraction, a component is a closely related collection of classes, and a system is a collection of components designed to solve a problem. An object is an instance of a class. Each object consists of state and behavior, where state is determined by the values of state variables identified in the class definition, a...
متن کاملA Tool for Testing of Inheritance Related Bugs in Object Oriented Software
Object oriented software development different from traditional development products. In object oriented software polymorphism, inheritance, dynamic binding are the important features. An inheritance property is the main feature. The compilers usually detect the syntax oriented errors only. Some of the property errors may be located in the product. Data flow testing is an appropriate testing me...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- IEE Proceedings - Software
دوره 148 شماره
صفحات -
تاریخ انتشار 2001